package com.bootdo.jiashan.service;

import com.bootdo.common.domain.Tree;
import com.bootdo.jiashan.domain.StandardAreaDO;
import com.bootdo.jiashan.model.Area;
import com.bootdo.system.domain.MenuDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author hejinen
 * @email 1992lcg@163.com
 * @date 2019-05-19 03:26:20
 */
public interface StandardAreaService {
	
	StandardAreaDO get(Integer id);
	
	List<StandardAreaDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StandardAreaDO standardArea);
	
	int update(StandardAreaDO standardArea);

	int updateByStandard(Integer standard,String[] areaCode);

	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	Tree<Area> getTree(Integer standard);
}
